<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>    TFC-Trotri Foundation Classes &raquo; \tfc\mvc\routes\RouteRegex
</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

            <link href="../css/template.css" rel="stylesheet" media="all"/>
    
            <!--[if lt IE 9]>
        
        <![endif]-->
        <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
        <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
        <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
        <script src="../js/bootstrap.js" type="text/javascript"></script>
        <script src="../js/template.js" type="text/javascript"></script>
        <script src="../js/prettify/prettify.min.js" type="text/javascript"></script>
    
            <link rel="shortcut icon" href="../img/favicon.ico"/>
        <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/>
        <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/>
        <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/>
    </head>
<body>

        <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span> <span class="icon-bar"></span>
                    <span class="icon-bar"></span> </a>
                <a class="brand" href="http://www.trotri.com/">Trotri官网</a><a class="brand" href="../index.html">TFC-Trotri Foundation Classes</a>

                <div class="nav-collapse">
                    <ul class="nav">
                        <li class="dropdown">
                            <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                API Documentation <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                                                    <li><a>Namespaces</a></li>
                                                                        <li><a href="../namespaces/tfc.html">tfc</a></li>
                                                                                                                                </ul>
                        </li>
                        <li class="dropdown" id="charts-menu">
                            <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                Charts <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../graph_class.html">
                                        <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown" id="reports-menu">
                            <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                Reports <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../errors.html">
                                         
                                    </a>
                                </li>
                                <li>
                                    <a href="../markers.html">
                                        <i class="icon-list-alt"></i>&#160;Markers
                                    </a>
                                </li>
                                <li>
                                    <a href="../deprecated.html">
                                        <i class="icon-list-alt"></i>&#160;Deprecated
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="go_to_top">
            <a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>
        </div>
    </div>
    
    <div id="___" class="container">
        <noscript>
            <div class="alert alert-warning">
                Javascript is disabled; several features are only available if Javascript is enabled.
            </div>
        </noscript>

        
            <style>
        .deprecated h2 {
            text-decoration: line-through;
        }
    </style>
    <div class="row">
        <div class="span4">
                    <div class="btn-group view pull-right" data-toggle="buttons-radio">
        <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button>
        <button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
    </div>
    <div class="btn-group visibility" data-toggle="buttons-checkbox">
        <button class="btn public active" title="Show public elements">Public</button>
        <button class="btn protected" title="Show protected elements">Protected</button>
        <button class="btn private" title="Show private elements">Private</button>
        <button class="btn inherited active" title="Show inherited elements">Inherited</button>
    </div>

        <ul class="side-nav nav nav-list">
        <li class="nav-header">
            <i class="icon-custom icon-method"></i> Methods
            <ul>
                                                                                                    <li class="method public">
        <a href="#method___construct" title="__construct :: 构造方法：初始化正则匹配规则、默认参数、数字键映射字母键">
            <span class="description">构造方法：初始化正则匹配规则、默认参数、数字键映射字母键</span><pre>__construct</pre>
        </a>
    </li>

                                                                                                                                                                <li class="method public inherited">
        <a href="#method_getAction" title="getAction :: 获取Action名">
            <span class="description">获取Action名</span><pre>getAction</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_setAction" title="setAction :: 设置Action名">
            <span class="description">设置Action名</span><pre>setAction</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_getController" title="getController :: 获取Controller名">
            <span class="description">获取Controller名</span><pre>getController</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_setController" title="setController :: 设置Controller名">
            <span class="description">设置Controller名</span><pre>setController</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_getModule" title="getModule :: 获取Module名">
            <span class="description">获取Module名</span><pre>getModule</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_setModule" title="setModule :: 设置Module名">
            <span class="description">设置Module名</span><pre>setModule</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_getDefaults" title="getDefaults :: 获取所有默认的值，包括Module、Controller、Action和参数">
            <span class="description">获取所有默认的值，包括Module、Controller、Action和参数</span><pre>getDefaults</pre>
        </a>
    </li>

                                                </ul>
        </li>
        <li class="nav-header protected">» Protected
            <ul>
                                                                                                                <li class="method protected inherited">
                            <a href="#method_match" title="match :: 通过Path路径匹配当前路由，并且获取Module、Controller、Action，并将参数设置到Request中">
                                <span class="description">通过Path路径匹配当前路由，并且获取Module、Controller、Action，并将参数设置到Request中</span><pre>match</pre>
                            </a>
                        </li>
                                                                                                                                                                                                                                                                                                            </ul>
        </li>
        <li class="nav-header private">» Private
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                </ul>
        </li>
        <li class="nav-header">
            <i class="icon-custom icon-constant"></i> Constants
            <ul>
                                <li class="constant ">
                    <a href="#constant_REGEX_DELIMITER" title="REGEX_DELIMITER :: ">
                        <span class="description"></span><pre>REGEX_DELIMITER</pre>
                    </a>
                </li>
                                <li class="constant ">
                    <a href="#constant_URI_DELIMITER" title="URI_DELIMITER :: ">
                        <span class="description"></span><pre>URI_DELIMITER</pre>
                    </a>
                </li>
                            </ul>
        </li>
    </ul>


        </div>

        <div class="span8">
            <div class="element class">
                <h1>RouteRegex</h1>
                <small style="display: block; text-align: right">
                                            Extends <a href="../classes/tfc.mvc.routes.Route.html">\tfc\mvc\routes\Route</a>
                                                        </small>
                <p class="short_description">RouteRegex class file
正则路由</p>
                <div class="details">
                    <div class="long_description">
                        <p>一.正则路由例子：
URL：<a href="http://domain.com/archive/2012">http://domain.com/archive/2012</a></p>
<pre>
$route = new RouteRegex(
    'archive/(\d+)',
    array(
        'controller' => 'archive',
        'action'     => 'show'
    )
);
$value = array(
    'controller' => 'archive',
    'action'     => 'show',
    1            => '2012'
);
</pre>
<p>二.上面例子中整数键不容易管理，下面方式解决：</p>
<pre>
$route = new RouteRegex(
    'archive/(\d+)',
    array(
        'controller' => 'archive',
        'action'     => 'show'
    ),
    array(
        1 => 'year'
    )
);
$value = array(
    'controller' => 'archive',
    'action'     => 'show',
    'year'       => '2012'
);
</pre>
<p>三.如果URL的地址是：<a href="http://domain.com/archive，即后面缺省2012时，下面方式解决">http://domain.com/archive，即后面缺省2012时，下面方式解决</a>：</p>
<pre>
$route = new RouteRegex(
    'archive(?:/(\d+))?',
    array(
        1            => '2012',
        'controller' => 'archive',
        'action'     => 'show'
    ),
    array(
        1 => 'year'
    )
);
$value = array(
    'controller' => 'archive',
    'action'     => 'show',
    'year'       => '2012'
);
</pre>
<p>四.URL中有多个匹配：
URL：<a href="http://domain.com/iphper/page/8">http://domain.com/iphper/page/8</a></p>
<pre>
$route = new RouteRegex(
    '(\w+)/page/(\d+)',
    array(
        'controller' => 'profile',
        'action'     => 'userinfo'
    ),
    array(
        2 => 'page'
    )
);
$value = array(
    'controller' => 'profile',
    'action'     => 'userinfo',
    1            => 'iphper',
    'page'       => '8'
);
</pre>
<p>五.URL中有多个参数：
URL：<a href="http://domain.com/archive/2012/username/iphper/page/2">http://domain.com/archive/2012/username/iphper/page/2</a></p>
<pre>
$route = new RouteRegex(
    'archive/(\d+)',
    array(
        'controller' => 'archive',
        'action'     => 'show'
    ),
    array(
        2 => 'page'
    )
);
$value = array(
    'controller' => 'archive',
    'action'     => 'show',
    1            => '2012',
    'username'   => 'iphper',
    'page'       => '2'
);
</pre>
                    </div>
                    <table class="table table-bordered">
                                                                                    <tr>
                                    <th>
                                        author
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>宋欢 <a href="mailto:trotri@yeah.net">trotri@yeah.net</a></p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        version
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>$Id: RouteRegex.php 1 2013-03-29 16:48:06Z huan.song $</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        package
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>tfc.mvc.routers</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        since
                                                                            </th>
                                    <td>
                                                                                    1.0
                                                                                
                                    </td>
                                </tr>
                                                                                                                                                                                                                                    </table>

                    <h3><i class="icon-custom icon-method"></i> Methods</h3>
                                                                <a id="method___construct"></a>
                        <div class="element clickable method public  method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
                            <h2>构造方法：初始化正则匹配规则、默认参数、数字键映射字母键</h2>
                            <pre>__construct(string $pattern, array $defaults = array(), array $maps = array()) </pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$pattern</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$defaults</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$maps</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_match"></a>
                        <div class="element clickable method protected  method_match inherited" data-toggle="collapse" data-target=".method_match .collapse">
                            <h2>通过Path路径匹配当前路由，并且获取Module、Controller、Action，并将参数设置到Request中</h2>
                            <pre>match(\tfc\ap\HttpRequest $request) : boolean</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                <span class="label">abstract</span>                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$request</h4>
                                                <code><a href="../classes/tfc.ap.HttpRequest.html">\tfc\ap\HttpRequest</a></code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getAction"></a>
                        <div class="element clickable method public  method_getAction inherited" data-toggle="collapse" data-target=".method_getAction .collapse">
                            <h2>获取Action名</h2>
                            <pre>getAction() : string</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setAction"></a>
                        <div class="element clickable method public  method_setAction inherited" data-toggle="collapse" data-target=".method_setAction .collapse">
                            <h2>设置Action名</h2>
                            <pre>setAction(string $action) : \tfc\mvc\routers\Route</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$action</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>\tfc\mvc\routers\Route</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getController"></a>
                        <div class="element clickable method public  method_getController inherited" data-toggle="collapse" data-target=".method_getController .collapse">
                            <h2>获取Controller名</h2>
                            <pre>getController() : string</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setController"></a>
                        <div class="element clickable method public  method_setController inherited" data-toggle="collapse" data-target=".method_setController .collapse">
                            <h2>设置Controller名</h2>
                            <pre>setController(string $controller) : \tfc\mvc\routers\Route</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$controller</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>\tfc\mvc\routers\Route</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getModule"></a>
                        <div class="element clickable method public  method_getModule inherited" data-toggle="collapse" data-target=".method_getModule .collapse">
                            <h2>获取Module名</h2>
                            <pre>getModule() : string</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setModule"></a>
                        <div class="element clickable method public  method_setModule inherited" data-toggle="collapse" data-target=".method_setModule .collapse">
                            <h2>设置Module名</h2>
                            <pre>setModule(string $module) : \tfc\mvc\routers\Route</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$module</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>\tfc\mvc\routers\Route</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getDefaults"></a>
                        <div class="element clickable method public  method_getDefaults inherited" data-toggle="collapse" data-target=".method_getDefaults .collapse">
                            <h2>获取所有默认的值，包括Module、Controller、Action和参数</h2>
                            <pre>getDefaults() : array</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>array</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                    
                                            <h3><i class="icon-custom icon-constant"></i> Constants</h3>
                                                    <a id="constant_REGEX_DELIMITER"> </a>
                            <div class="element clickable constant  constant_REGEX_DELIMITER" data-toggle="collapse" data-target=".constant_REGEX_DELIMITER .collapse">
                                <h2>REGEX_DELIMITER</h2>
                                <pre>REGEX_DELIMITER</pre>
                                <div class="labels">
                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>
                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>正则分隔符</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>
                                    </div>
                                </div>
                            </div>
                                                    <a id="constant_URI_DELIMITER"> </a>
                            <div class="element clickable constant  constant_URI_DELIMITER inherited" data-toggle="collapse" data-target=".constant_URI_DELIMITER .collapse">
                                <h2>URI_DELIMITER</h2>
                                <pre>URI_DELIMITER</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>
                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>URI分隔符</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>
                                    </div>
                                </div>
                            </div>
                                            
                                                                <h3><i class="icon-custom icon-property"></i> Properties</h3>
                                                    <a id="property__pattern"> </a>
                            <div class="element clickable property  protected property__pattern" data-toggle="collapse" data-target=".property__pattern .collapse">
                                <h2>正则匹配规则</h2>
                                <pre>_pattern : string</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>正则匹配规则</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__maps"> </a>
                            <div class="element clickable property  protected property__maps" data-toggle="collapse" data-target=".property__maps .collapse">
                                <h2>数字键映射字母键</h2>
                                <pre>_maps : array</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>数字键映射字母键</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>array</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__action"> </a>
                            <div class="element clickable property  protected property__action inherited" data-toggle="collapse" data-target=".property__action .collapse">
                                <h2>方法名</h2>
                                <pre>_action : string|null</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>方法名</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string|null</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__controller"> </a>
                            <div class="element clickable property  protected property__controller inherited" data-toggle="collapse" data-target=".property__controller .collapse">
                                <h2>控制器名</h2>
                                <pre>_controller : string|null</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>控制器名</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string|null</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__module"> </a>
                            <div class="element clickable property  protected property__module inherited" data-toggle="collapse" data-target=".property__module .collapse">
                                <h2>模型名</h2>
                                <pre>_module : string|null</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>模型名</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string|null</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__defaults"> </a>
                            <div class="element clickable property  protected property__defaults inherited" data-toggle="collapse" data-target=".property__defaults .collapse">
                                <h2>默认参数</h2>
                                <pre>_defaults : array</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>默认参数</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>array</code>
                                                                            </div>
                                </div>
                            </div>
                                                            </div>
            </div>
            <a id="\tfc\mvc\routes\RouteRegex"></a>
            <ul class="breadcrumb">
                <li><a href="../index.html"><i class="icon-custom icon-class"></i></a></li>
                    
    
    <li><span class="divider">\</span><a href="../namespaces/tfc.mvc.routes.html">routes</a></li>

                <li class="active"><span class="divider">\</span><a href="../classes/tfc.mvc.routes.RouteRegex.html">RouteRegex</a></li>
            </ul>
        </div>
    </div>

    </div>

        <footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
            <a href="http://glyphicons.com/">Glyphicons</a>.<br/>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
            generated on Sat, 27 Dec 2014 06:16:38 +0000.<br/>
    </footer>
    </body>
</html>
